package model;



public class Payment
{ private double total;
  private double discount;
  private String paymentType;
  private Product price;
  private OrderLine quantity;
  private double dtotal;
  private Staff staff;
 
  public Payment(){
    
    }
  
   public double totalPrice(){
   return  total=Product.price * OrderLine.quantity;
    }
   public double discount(int discount){
    return dtotal=total-(total/discount);
    }
}